package ru.tapublog.lib.samsungwallet.api;

public class SamsungWalletException extends Exception {

	private static final long serialVersionUID = 1L;

	private final String code;

	public SamsungWalletException() {
		this(null, null, null);
	}

	public SamsungWalletException(String message) {
		this(message, null, null);
	}

	public SamsungWalletException(String message, String code) {
		this(message, code, null);
	}

	public SamsungWalletException(String message, Throwable cause) {
		this(message, null, cause);
	}

	public SamsungWalletException(String message, String code, Throwable cause) {
		super(message, cause);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

}
